package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

@Entity
@Table(name="CustomerPriceView")
public class CustomerPriceView {
	@Id
	private String id;
	
	
	private String createTime;
	
	/**项目名称*/
	@Column(name="sName")
	private String name;

	/** 客户id */
	@Column(name = "sCustomerId")
	private String customerId;
	
	/** 客户名称 */
	@Column(name = "sCustomerName")
	private String customerName;
	
	@Column(name="nIsFinished")
	private Boolean finished;
	
	/**备注*/
	@Column(name="sMemo")
	private String memo;
	
	/** 总原价 */
	@Column(name="nCostSum")
	private float costSum;
	
	/** 总报价 */
	@Column(name="nSum")
	private float sum;
	/** 交货日期 */
	@Column(name = "DdeliveryDate")
	@Temporal(TemporalType.TIMESTAMP)
	private Date deliveryDate;
	
	public Date getDeliveryDate() {
		return deliveryDate;
	}

	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}
	/** 类型 */
	@Column(name="type")
	private String type;
	
	/**
     * 最终审批状态
     */
	@Column(name="sAuditState")
    private String auditState;

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public String getAuditState() {
		return auditState;
	}

	public void setAuditState(String auditState) {
		this.auditState = auditState;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public Boolean getFinished() {
		return finished;
	}

	public void setFinished(Boolean finished) {
		this.finished = finished;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public float getCostSum() {
		return costSum;
	}

	public void setCostSum(float costSum) {
		this.costSum = costSum;
	}

	public float getSum() {
		return sum;
	}

	public void setSum(float sum) {
		this.sum = sum;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	
}
